﻿using DuToanT2.Models.DomainBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DuToanT2.Models
{
    public class HangMuc_CongViec : EntityBase
    {
        [Required]
        [Display(Name = "Khối lượng")]
        public double KhoiLuong { get; set; }

        public int HangMucId { get; set; }

        [Display(Name = "Hạng mục")]
        public virtual HangMuc HangMuc { get; set; }

        public Nullable<int> DinhMuc_CongViecId { get; set; }

        [Display(Name = "Định mức")]
        public virtual DinhMuc_CongViec DinhMuc_CongViec { get; set; }

        public virtual ICollection<GiaThongBao_ApDung> GiaThongBao_ApDungs { get; set; }
    }
}
